package org.scau.studentevaluation.entity.dos;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@TableName("student")
@Data
public class Table implements Comparable<Table> {
    long id;
    String name;
    String college;
    //学生信息
    @TableField(exist = false)
    float sum;
    @TableField(exist = false)
    float de;
    @TableField(exist = false)
    float zhi;
    @TableField(exist = false)
    float ti;






    @Override
    public int compareTo(Table o) {
        if (this.getSum() > o.getSum())return 1;
        else return 0;
    }
}
